<?php
$page_type = "";
require_once 'header.php';
  
echo "<h2>Password Management</h2>";

// Generate the change password form
echo("
  <form method=\"post\" action=\"update_password_response.php\">
  Current Password: <input type=\"password\" size=\"12\" maxlength=\"12\" name=\"input_password\"> 
  <br/> 
  New Password: <input type=\"password\" size=\"12\" maxlength=\"12\" name=\"new_password\">
  <br/>
  Confirm Password: <input type=\"password\" size=\"12\" maxlength=\"12\" name=\"confirmed_password\"> 
  <br/> 
  <input type=\"submit\" value=\"Update\">
  </form>");

if (!empty($_GET["pass_error"]))
  $msg = $_GET["pass_error"];
else if (!empty($_GET["pass_success"])) 
  $msg = $_GET["pass_success"];
else
  $msg = "";
  
echo "<font color=\"#CC0000\"><p><b>$msg</b></p></font>";
?>
</body>
</html>